onmessage = function(message) {
  throw new Error("Error happens!");
}